package com.learn.micro_mall.service.api.brand;

import com.learn.micro_mall.common.response.PlainResult;
import com.learn.micro_mall.service.request.brand.BrandDeleteRequest;
import com.learn.micro_mall.service.request.brand.BrandCreateRequest;
import com.learn.micro_mall.service.request.brand.BrandUpdateRequest;
import com.learn.micro_mall.service.response.brand.BrandDeleteResponse;
import com.learn.micro_mall.service.response.brand.BrandCreateResponse;
import com.learn.micro_mall.service.response.brand.BrandUpdateResponse;

public interface BrandService {

    /**
     * 创建品牌
     * @param request
     * @return
     */
    PlainResult<BrandCreateResponse> createBrand(BrandCreateRequest request) throws Exception;


    /**
     * 更新品牌
     * @param request
     * @return
     */
    PlainResult<BrandUpdateResponse> updateBrand(BrandUpdateRequest request) throws Exception;

    /**
     * 删除品牌
     * @param request
     * @return
     */
    PlainResult<BrandDeleteResponse> deleteBrand(BrandDeleteRequest request) throws Exception;
}
